<%--
  Created by IntelliJ IDEA.
  User: lzy
  Date: 18-4-19
  Time: 下午4:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>session</title>
</head>
<body>
<%
    //设置session属性
    session.setAttribute("id", 1L);
    //执行跳转
    response.sendRedirect("./sessionAttribute");
%>
</body>
</html>
